import * as GCMapDev from '../lib/index.js'
import { createApp } from 'vue'
import App from './App.vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import ElementPlus from 'element-plus'
import router from './router'
import store from './store'
import debounce from './directive/debounce.js'
import drag from './directive/drag.js'

import '@/assets/fonts/font.css'

window.GCMap = GCMapDev
const app = createApp(App)
app.use(router)
app.use(store)
app.use(debounce)
app.use(drag)
app.use(ElementPlus, {
  locale: zhCn,
  size: 'small'
})
app.mount('#app')
